package com.caoJun.bean.constructor.service;

import com.caoJun.bean.constructor.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description: SSM_homework
 * @Author 83-start
 * @Time 2021/4/11 15:40
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    @Resource(name = "userDao")
    public UserDao userDao;

    public void save() {
        this.userDao.save();
        System.out.println("_____ service _____ save");
    }
}
